﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BUS;
using DAO;
using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;

namespace BUS
{
    public class MonHocBUS
    {
        public static bool KiemTraMaMonHoc(string maMonHoc)
        {
           return MonHocDAO.TraCuuMonHoc( maMonHoc );
        }

        public static bool KiemTraTenMonHoc(string tenMonHoc)
        {
            return MonHocDAO.KiemTraMonHoc(tenMonHoc);
        }


        public static bool ThemMonHoc(string tenMonHoc, string maMonHoc)
        {
           return  MonHocDAO.ThemMonHoc( tenMonHoc, maMonHoc );
        }

        public static bool XoaMonHoc(string tenMonHoc)
        {
            return MonHocDAO.XoaMonHoc( tenMonHoc );
        }



        public static DataTable LayDuLieuMonHoc()
        {
            return MonHocDAO.LayDuLieuMonHoc();
        }

        public static DataTable LayDuLieuFullMonHoc()
        {
            return MonHocDAO.LayDuLieuFullMonHoc();
        }

    }
}
